package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申办信息-公证事项对象 applets_business_matter
 * 
 * @author cyt
 * @date 2021-08-23
 */
public class AppletsBusinessMatter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 业务id */
    @Excel(name = "业务id")
    private Long businessid;

    /** 事项编号 */
    @Excel(name = "事项编号")
    private String matter;

    /** 事项名称 */
    @Excel(name = "事项名称")
    private String mattername;

    /** 事项份数 */
    @Excel(name = "事项份数")
    private String stepper;

    /** 是否翻译 */
    @Excel(name = "是否翻译")
    private String translate;

    /** 申请人 */
    @Excel(name = "申请人")
    private String party;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    private String operatortimeStr;

    /** 事项图标 */
    @Excel(name = "事项图标")
    private String mattericon;

    /** 公证费 */
    @Excel(name = "公证费")
    private BigDecimal notarizationFee;

    /** 公证费 */
    @Excel(name = "当事人list")
    private List<AppletsApplicantUser> appletsApplicantUserList = new ArrayList<>();

    public AppletsBusinessMatter() {
    }

    public AppletsBusinessMatter(Long businessid) {
        this.businessid = businessid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setBusinessid(Long businessid) 
    {
        this.businessid = businessid;
    }

    public Long getBusinessid() 
    {
        return businessid;
    }
    public void setMatter(String matter) 
    {
        this.matter = matter;
    }

    public String getMatter() 
    {
        return matter;
    }
    public void setMattername(String mattername) 
    {
        this.mattername = mattername;
    }

    public String getMattername() 
    {
        return mattername;
    }
    public void setStepper(String stepper) 
    {
        this.stepper = stepper;
    }

    public String getStepper() 
    {
        return stepper;
    }
    public void setTranslate(String translate) 
    {
        this.translate = translate;
    }

    public String getTranslate() 
    {
        return translate;
    }
    public void setParty(String party) 
    {
        this.party = party;
    }

    public String getParty() 
    {
        return party;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    public String getMattericon() {
        return mattericon;
    }

    public void setMattericon(String mattericon) {
        this.mattericon = mattericon;
    }

    public BigDecimal getNotarizationFee() {
        return notarizationFee;
    }

    public void setNotarizationFee(BigDecimal notarizationFee) {
        this.notarizationFee = notarizationFee;
    }

    public List<AppletsApplicantUser> getAppletsApplicantUserList() {
        return appletsApplicantUserList;
    }

    public void setAppletsApplicantUserList(List<AppletsApplicantUser> appletsApplicantUserList) {
        this.appletsApplicantUserList = appletsApplicantUserList;
    }


    public String getOperatortimeStr() {
        return operatortimeStr;
    }

    public void setOperatortimeStr(String operatortimeStr) {
        this.operatortimeStr = operatortimeStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("businessid", getBusinessid())
            .append("matter", getMatter())
            .append("mattername", getMattername())
            .append("stepper", getStepper())
            .append("translate", getTranslate())
            .append("party", getParty())
            .append("operatortime", getOperatortime())
            .append("operatortimeStr", getOperatortimeStr())
            .toString();
    }
}
